package com.xuecheng.api.media;

import com.xuecheng.api.media.model.qo.QueryMediaModel;
import com.xuecheng.api.media.model.vo.MediaAuditVo;
import com.xuecheng.common.domain.page.PageRequestParams;
import com.xuecheng.common.domain.page.PageVO;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiImplicitParam;
import io.swagger.annotations.ApiImplicitParams;
import io.swagger.annotations.ApiOperation;

/**
 * @author 黄子弟
 * @Date 2021/12/15
 */

@Api(value = "运营平台媒资管理api" ,tags = "运营平台媒资管理api接口信息")
public interface OperationMediaControllerApi {

    @ApiOperation("运营平台媒体资源分页条件查询")
    @ApiImplicitParams(value = {@ApiImplicitParam(name = "params",value = "分页数据信息",required = true,dataType = "PageRequestParams",paramType = "query"),
            @ApiImplicitParam(name = "model",value = "查询条件信息",required = true,dataType = "QueryMediaModel",paramType = "body")
    })
    PageVO queryMediaList(PageRequestParams params, QueryMediaModel model);

    @ApiOperation("运营平台审核媒资")
    @ApiImplicitParam(name = "vo",value = "媒资审核信息",required = true,dataType = "MediaAuditVo",paramType = "body")
    void modifyAuditStatus(MediaAuditVo vo);

    @ApiOperation("运营平台媒资信息预览")
    @ApiImplicitParam(name = "mediaId",value = "媒资id",required = true,dataType = "Long",paramType = "path")
    String previewMedia(Long mediaId);

}
